]> dgit.raspbian.org Git - gnome-shell.git/commit
Improve 12/24 clock detection
authorDirk-Jan C. Binnema <djcb@djcbsoftware.nl>
Sat, 27 Feb 2010 08:29:13 +0000 (10:29 +0200)
committerColin Walters <walters@verbum.org>
Fri, 5 Mar 2010 17:02:18 +0000 (12:02 -0500)
commit046e0609abff6ad3ced0120e997fba7469e62e83
tree5e2e1ffbf1efe1315e35acd9a0515094f8f15620
parent1a0d507316c8231ac68c011155fde6bb1a89e622
Improve 12/24 clock detection

The current check looks at whether there was some am/pm suffix in the
localized time; however in some cases (locales) that does not seem to
work. this version instead checks whether the localized versions of 05:00 and
17:00 start with the same two digits; if not, it's probably a 24h clock.

https://bugzilla.gnome.org/show_bug.cgi?id=603488
js/ui/panel.js